package com.itheima.d1_exception_javac;

public class IllegalAgeException extends Exception {
    /**
     * 自定义异常
     */
    public IllegalAgeException() {
    }

    public IllegalAgeException(String message) {//抛出异常信息的有参构造器
        super(message);
    }
}
